package homework;

public enum Seasons {
    SPRING("春天","温暖"),
    SUMMER("夏天","炎热"),
    AUTUMN("秋天","凉爽"),
    WINTER("冬天","寒冷");
    private String seasonName;
    private String seasonDesc;
    Seasons(String seasonName, String seasonDesc){
        this.seasonName = seasonName;
        this.seasonDesc = seasonDesc;
    }
    public String getSeasonName(){return seasonName;}
    public String getSeasonDesc(){return seasonDesc;}
    public void setSeasonName(String seasonName){this.seasonName = seasonName;}
    public void setSeasonDesc(String seasonDesc){this.seasonDesc = seasonDesc;}
}
